package edu.sandau.b230111.b23011125.Model;


import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table(name="userlogin")
public class UserLogin {
    @Id
    private String userid;
    private String account;
    private String password;
    private Integer isadmin;

    public UserLogin() {

    }

    public UserLogin(String userid, Integer isadmin, String password, String account) {
        this.userid = userid;
        this.isadmin = isadmin;
        this.password = password;
        this.account = account;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public Integer getIsadmin() {
        return isadmin;
    }

    public void setIsadmin(Integer isadmin) {
        this.isadmin = isadmin;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }
}
